package com.bookstore.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bookstore.entity.po.TrolleyPO;
import com.bookstore.entity.vo.TrolleyVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TrolleyMapper extends BaseMapper<TrolleyPO> {
    List<TrolleyVO> getByUserName(@Param("userName") String userName);
}
